package homeJava;

import java.util.Scanner;

public class J0709 {

	public static void main(String[] args) {
		
		Scanner s = new Scanner(System.in);
		
		
		char marri = '미';
		int sal = s.nextInt();
		int tax1;
		int tax2;
		
//	
//		
//		tax1 = sal*25/100;
//		tax2 = sal*10/100;
//		tax3 = sal*35/100;
//		tax4 = sal*15/100;
//		
		
		marri = '미';
		
		System.out.println("기혼, 미혼 : ");
		s.next();
		
		System.out.println("연봉 : ");
		s.nextInt();

		
		Scanner close;	
		
		tax1 = sal*25/100;
		tax2 = sal*10/100;
	
		
		
		
		if (marri == '미' & sal >=3000)
			System.out.println("세금은 " + tax1);
		else if (marri =='미' & sal <3000)
			System.out.println("세금은 " + tax2);
	
			
//			if (sal >=3000){System.out.println(sal*0.25);}
//			else System.out.println(sal*0.1);
//		}else System.out.println(sal * 0.35);
		
		
		
		
		
		
		
	}

}
